Skip to content

Prevent empty projected volumes#531

Open
mfrailis wants to merge 1 commit into
interlink-hq:mainfrom
mfrailis:empty_projected_volume
Open

Prevent empty projected volumes#531
mfrailis wants to merge 1 commit into
interlink-hq:mainfrom
mfrailis:empty_projected_volume

Conversation

@mfrailis

Copy link
Copy Markdown

I anticipate that I'm not a Golang programmer, so I may have misinterpreted the code.

When testing interlink in order to bridge kubernetes with a slurm managed HPC cluster, I experienced empty projected volumes within the slurm jobs created by InterLink.

Initially I did not set the SHARED_FS=true, so setting it surely solve the problem. But in any case, this pull request seems to correct a bug in the VirtualKubelet code, which can cause the forwarding of an empty projected volume to the slurm bridge.

Apologize in case this is a false alarm.

Copilot AI review requested due to automatic review settings June 10, 2026 12:20
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for interlink-dev canceled.

Name Link
🔨 Latest commit 6ba6d31
🔍 Latest deploy log https://app.netlify.com/projects/interlink-dev/deploys/6a29567509574a000855fd70

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adjusts when projected volume data is added to the PodCreateRequest so the appended entry contains the fully populated data from all projection sources.

Changes:

  • Move ProjectedVolumeMaps append to after all volume.Projected.Sources have been processed
  • Consolidate the debug log of ProjectedVolumeMaps length to run once after append

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dciangot

Copy link
Copy Markdown
Member

Thank you @mfrailis ! Let e get through it and the copilot first comments, and then I'll be back to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants